package com.bonc.service.impl;

import com.bonc.mapper.SysUserMapper;
import com.bonc.pojo.SysUser;
import com.bonc.service.ISysUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Description: 用户-服务层
 * @Author: ChenZhiXiang
 * @CreateDate: 2018/11/21 0021 11:14
 * @Version: 1.0
 */
@Service
public class SysUserServiceImpl implements ISysUserService {

    @Autowired
    private SysUserMapper sysUserMapper;

    @Override
    public SysUser getUserByUsername(String username) {
        return sysUserMapper.getUserByUsername(username);
    }

}
